// 错误示例

function foo8() {
  try {
    return 1;
  } catch (error) {
    return 2;
  } finally {
    return 3;
  }
}

function foo9() {
  try {
    return 1;
  } catch (error) {
    return 2;
  } finally {
    throw new Error("123");
  }
}

function foo10() {
  try {
    return 1;
  } catch (error) {
    return 2;
  } finally {
    console.log("finally");
  }
}
